package main

import "fmt"

func main() {
	ints := make([]int, 5)
	fmt.Printf("len=%d, cap=%d\n", len(ints), cap(ints))	//len=5,cap=5
	ints = ints[2:3]
	fmt.Printf("len=%d, cap=%d\n", len(ints), cap(ints))	//len=1,cap=3
}
